get /cloudextensions
List Cloud Extensions (getCloudExtensions)
Lists the Cloud Extensions.
Consumes
This API call consumes the following media types via the Content-Type request header:
- application/json
Return type
array[CloudExtensionDescription]
stateInfo (optional) |
CloudExtensionStateDescription Cloud Extension state description
|
||||||||||||||||||||
|
cloudInfo (optional) |
CloudExtensionBase Cloud extension object
|
||||||||||||||||||||
|
onPremInfo (optional) |
OriginDescription Origin Virtual Machine Description
|
||||||||||||||||||||
|
operationLinks (optional) |
OperationLink List of Links to CE Operations
|
Example data
Content-Type: application/json
{
"stateInfo": {
"id": {
"_type": "CloudExtensionId",
"value": "ce-1"
},
"name": "cloudExtensionName",
"uuid": "123e4567-e89b-12d3-a456-426655440000",
"cloudProvider": "Gcp",
"healthChecks": [{}],
"state": "Active",
"credentialsId": {
"_type": "CredentialsId",
"value": "cloudExtensionCreds"
}
},
"cloudInfo": {
"_type": "GcpCloudExtension",
"credentials": {
"_type": "CredentialsId",
"value": "cloudExtensionId"
},
"size": "Small",
"licenseType": "VelostrataIssued",
"cloudEdges": [{
"_type": "GcpCloudEdge",
"instanceId": "projects/velos/zones/europe-west1-d/instances/velostrata-edge-node-id",
"privateIp": "10.10.10.10",
"networkInterfaceId": "projects/velos/regions/europe-west1/addresses/address-123a4b56-78cd-91ef-hg01-i1jk1",
"edgeNode": "NodeA",
"version": "4.0",
"zone": "europe-west1-d"
},
{
"_type": "GcpCloudEdge",
"instanceId": "projects/velos/zones/europe-west1-d/instances/velostrata-edge-other-node-id",
"privateIp": "10.10.10.10",
"networkInterfaceId": "projects/proj/regions/europe-west1/addresses/address-123a4b56-78cd-91ef-hg01-i1jk2",
"edgeNode": "NodeB",
"version": "4.0",
"zone": "europe-west1-d"
}],
"workloadDefaultSecurityGroupId": "securityGroup",
"workloadDefaultSubnetId": "https://www.googleapis.com/compute/v1/projects/proj/regions/europe-west1/subnetworks/subnet",
"region": "europe-west1",
"network": "https://www.googleapis.com/compute/v1/projects/proj/global/networks/net",
"bucketName": "bucket_avv1be13_13215asw-12s2-as12-55ws-jkfsdjkldf52",
"infraNetworkTags": ["velostrata"],
"workloadDefaultNetworkTags": ["velostrata"],
"cloudEdgeServiceAccountId": "cloud-edge@velos.iam.gserviceaccount.com",
"infraProjectId": "velos",
"defaultInstanceProjectId": "velos",
"defaultVelostrataWorkerServiceAccountId": "cloud-edge@velos.iam.gserviceaccount.com"
},
"onPremInfo": {
"entityId": "entity"
},
"operationLinks": [{
"rel": "Create",
"href": "https://10.10.10.10/velostrata/api/v40/cloudextensions",
"httpVerb": "POST"
},
{
"rel": "Start",
"href": "https://10.10.10.10/velostrata/api/v40/cloudextensions/ce-1/operations/start",
"httpVerb": "POST"
},
{
"rel": "Stop",
"href": "https://10.10.10.10/velostrata/api/v40/cloudextensions/ce-1/operations/stop",
"httpVerb": "POST"
},
{
"rel": "Delete",
"href": "https://10.10.10.10/velostrata/api/v40/cloudextensions/ce-1",
"httpVerb": "DELETE"
},
{
"rel": "Reconfigure",
"href": "https://10.10.10.10/velostrata/api/v40/cloudextensions/ce-1/operations/reconfigure",
"httpVerb": "POST"
},
{
"rel": "Upgrade",
"href": "https://10.10.10.10/velostrata/api/v40/cloudextensions/ce-1/operations/upgrade",
"httpVerb": "POST"
},
{
"rel": "Repair",
"href": "https://10.10.10.10/velostrata/api/v40/cloudextensions/ce-1/operations/repair",
"httpVerb": "POST"
},
{
"rel": "AllowedTasks",
"href": "https://10.10.10.10/velostrata/api/v40/cloudextensions/ce-1/allowedtasks",
"httpVerb": "GET"
},
{
"rel": "Self",
"href": "https://10.10.10.10/velostrata/api/v40/cloudextensions/ce-1",
"httpVerb": "GET"
}]
}]
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
- application/json
Responses
200
OK
Default
Error ErrorInfo
|
errorCode (optional) |
String |
|
url(optional) |
String |
|
message (optional) |
String |